//
//  JokeView.m
//  Days
//
//  Created by lanou3g on 16/1/7.
//  Copyright © 2016年 dss. All rights reserved.
//

#import "JokeView.h"

@implementation JokeView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self allViews];
    }
    return self;
}

-(void)allViews
{

    self.tableView = [[UITableView alloc]initWithFrame:CGRectMake(0, 64, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height-64) style:UITableViewStyleGrouped];
    self.tableView.backgroundColor = [UIColor clearColor];
    [self addSubview:self.tableView];


}
@end
